﻿@model System.Web.Mvc.HandleErrorInfo
@*@{
    Layout = "~/Views/Shared/_rootLayout.cshtml";
}*@
<div style="width:100%">
    <div class="error-header">
        系统错误
    </div>
    <div class="error-content">
        @if (Model != null)
        {
        <table style="width:100%">
            <tr>
                <td style="width:70px;text-align:right">页面路径：</td>
                <td style="text-align:left">@Model.ControllerName/@Model.ActionName</td>
            </tr>
            <tr>
                <td style="width:70px;text-align:right">错误消息：</td>
                <td style="text-align:left">@Model.Exception.Message</td>
            </tr>
            @if(Model.Exception.InnerException!=null)
            {
            <tr>
                <td style="width:70px;text-align:right">内部异常：</td>
                <td style="text-align:left">@Model.Exception.InnerException.Message</td>
            </tr>
            }
        </table>
        }
        else
        {
            <div style="text-align:center">未知错误，请联系系统管理员</div>;
        }
        <div style="text-align:center"><a href="javascript:history.back(-1);">返&nbsp;回</a></div>    
    </div>
    
</div>